﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls.Primitives;
using System.Windows.Controls;

namespace Bluebunnie
{
    public static class Helpers
    {
        public static void DeleteItems(this MultiSelector dg)
        {
            if (dg.SelectedItems != null)
            {
                foreach (var i in dg.SelectedItems)
                {
                    dg.Items.Remove(i);
                }
            }
        }     
        
    }
}
